package com.hdl.school.utils;

import com.hdl.school.bean.DeviceLog;
import com.leectrl.utils.DbUtil;

import org.xutils.ex.DbException;

public class DeviceLogUtil {
    public static void saveDeviceLog(DeviceLog deviceLog){
        new Thread(new Runnable() {
            @Override
            public void run() {
                try {
                    DbUtil.getInstance().save(deviceLog);
                } catch (DbException e) {
                    e.printStackTrace();
                }
            }
        }).start();

    }
}
